<%@ page language="java" import="java.util.*" pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="tag.jsp"%>
<div id="top">
	<div class="index-top">
		<div class="index-top-left">
			<a href="javascript:;" onclick="addfavorite();">收藏本站</a>&nbsp;&nbsp;
			<c:choose>
				<c:when test="${user ==null }"><a href="javascript:void(0);" onclick="javascript:showDiv('');" style="color: #FF0000;">每日签到</a></c:when>
				<c:otherwise><a href="user/userIndex" onclick="javascript:void(0);" style="color: #FF0000;">每日签到</a></c:otherwise>
			</c:choose>
		</div>
		<!-- 顶部 -->
		<div class="index-top-right">
			<c:choose>
				<c:when test="${user ==null }">
					<span style="color: #20C0FC;" id="no-login">你还未登录</span>
					<a href="javascript:void(0);" onclick="javascript:showDiv('');"
						target="_self" id="lj-login">,立即登录</a>&nbsp;
									<a href="register" style="color: #FF7A32;" id="free-login">免费注册</a>&nbsp;
							</c:when>
				<c:otherwise>
					<span style="color: blue;">欢迎你,${user.chName }</span>&nbsp;&nbsp;
									<a href="logout">退出</a>
					<a href="user/userIndex" target="_black" title="个人中心">个人中心</a>
				</c:otherwise>
			</c:choose>
			&nbsp; <a
				href="" id="jrsc" target="_blank">一键分享</a>&nbsp; <a
				href="javascript:showAlertDiv('等待开发中...');">安卓版下载</a>
		</div>
	</div>
	<%--首页图片轮播 --%>
	<%-- <div class="banner" id="banner">
			        <div class="inner clearfix" id="logos">
			        	<c:forEach var="logo" items="${logos}">
				               <div class="innerwraper"><img src="homeLogo?id=${logo.id }" alt="${logo.imgName }" /></div> 
			        	</c:forEach>
           			</div>
		</div>  --%>
	<!-- 导航栏 -->
	<div
		style="width: 1150px; height: 40px; background: #067296; box-shadow: 1px 1px 33px #fff; margin: 0 auto;">
		<div class="daohl">
			<ul>
				<li><a href="index">首页</a></li>
				<li><a href="question">问答</a></li>
				<li><a href="javascript:showAlertDiv('开发中');">论坛</a></li>
				<li><a href="suggestion">意见</a></li>
				<li><a href="version">版本</a></li>
			</ul>
		</div>
	</div>
</div>

<!-- 登陆弹出框 -->
<jsp:include page="window.jsp"></jsp:include>
<!-- 提示弹出框 -->
<jsp:include page="alert.jsp"></jsp:include>
